package com.tan.websocket.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tan.common.domain.chat.ChatInfo;
import com.tan.common.mapper.chat.ChatInfoMapper;
import com.tan.websocket.service.IChatInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author Tan
 * @description
 * @date 2025/1/27
 */
@Slf4j
@Service
public class ChatInfoServiceImpl extends ServiceImpl<ChatInfoMapper, ChatInfo> implements IChatInfoService {

    @Override
    public void createChatInfo(ChatInfo info){
        this.baseMapper.insert(info);
    }
}
